﻿Imports System
Imports System.Linq
Imports System.Data
Imports System.Web
Imports Equipment.DataAccess

<Serializable()> _
Public Class WorkOrderWrapper
#Region "Properties"
    Public ID As Integer
    Public AssetName As String
    Public Description As String
#End Region


    Public Shared Function GetFrom(ByVal wo As WorkOrder) As WorkOrderWrapper
        Dim wrapper As New WorkOrderWrapper

        wrapper.ID = wo.ID
        wrapper.AssetName = wo.Asset.AssetName
        wrapper.Description = wo.Description

        Return wrapper
    End Function
End Class
